<div class="dialog_content">
    <form id="info_form" name="info_form" action="{:U(MODULE_NAME.'/'.ACTION_NAME)}" method="post">
        <table width="100%" class="table_form">
            <tr>
                <th width="100">商家ID :</th>
                <td>
                    <input type="text" class="input-text" name="mid">
                    <input type="hidden" name="ids" value="{$_GET['ids']}"/>
                </td>
            </tr>
        </table>
    </form>
</div>
<script type="text/javascript">
    $('#info_form').ajaxForm({success: complete, dataType: 'json'});
    function complete(result) {
        if (result.status == 1) {
            $.dialog.get(result.dialog).close();
            $.pinphp.tip({content: result.msg});
            window.location.reload();
        }
        else {
            $.pinphp.tip({content: result.msg, icon: 'alert'});
        }
    }
</script>